//
//  MJRefreshGifHeader+CuRefreshHeader.m
//  HuaRun2
//
//  Created by admin on 2017/9/25.
//  Copyright © 2017年 Sunny. All rights reserved.
//

#import "MJRefreshGifHeader+CuRefreshHeader.h"

@implementation MJRefreshGifHeader (CuRefreshHeader)

- (void)configurePreferences {
    [self setTitle:NSLocalizedString(@"HeaderIdleText", nil)
          forState:MJRefreshStateIdle];
    [self setTitle:NSLocalizedString(@"HeaderPullingText", nil)
          forState:MJRefreshStatePulling];
    [self setTitle:NSLocalizedString(@"HeaderRefreshingText", nil)
          forState:MJRefreshStateRefreshing];
    
    // Set font
    self.stateLabel.font = [UIFont systemFontOfSize:15];
    
    // Set textColor
    self.stateLabel.textColor = [UIColor grayColor];
    
    self.lastUpdatedTimeLabel.hidden = YES;
}
@end
